import * as actionTypes from '../actionTypes'

export function cityName(state = {}, action) {
  switch (action.type) {
    case actionTypes.CITY_NAME:
      return action.data;
    default:
     return state;
  }
}